package com.ruoyi.picture.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 相片管理对象 picture
 * 
 * @author ruoyi
 * @date 2024-01-15
 */
public class Pic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 相册 */
    @Excel(name = "相册")
    private Long pId;

    /** 地址 */
    @Excel(name = "地址")
    private String picUrl;

    /** 描述 */
    @Excel(name = "描述")
    private String psDesc;
    @Excel(name = "描述")
    private String   typeName;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long lajiId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Long getpId()
    {
        return pId;
    }
    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }
    public void setPsDesc(String psDesc) 
    {
        this.psDesc = psDesc;
    }

    public String getPsDesc() 
    {
        return psDesc;
    }
    public void setLajiId(Long lajiId) 
    {
        this.lajiId = lajiId;
    }

    public Long getLajiId() 
    {
        return lajiId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getpId())
            .append("picUrl", getPicUrl())
            .append("psDesc", getPsDesc())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("lajiId", getLajiId())
            .toString();
    }
}
